<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body {
            background-color: #000;
        }
        .box {
            width: 200px;
            height: 200px;
            margin: 100px auto;
            animation: beat 1s ease-in infinite alternate;
        }

        .left,
        .right {
            width: 100px;
            height: 180px;
            background-color: pink;
            border-radius: 50px 50px 0 0;
            box-shadow: 0 0 20px 0 pink;
            /* animation: name duration timing-function delay iteration-count direction fill-mode; */

        }

        .left {
            float: left;
            transform: translateX(22px) rotate(-45deg);
        }

        .right {
            float: right;
            transform: translateX(-22px) rotate(45deg);

        }



        @keyframes beat {
            0% {
                transform: scale(1);
            }

            100% {
                transform: scale(1.1);
            }
        }
    </style>
</head>

<body>
    <div class="box">
        <div class="left">

        </div>
        <div class="right">

        </div>
    </div>
</body>

</html>